<script>
// import routingIntercept from '@/permission/index.js'
import { getAuthorization } from "@/utils/auth.js"
export default {
  onLaunch: function () {
    console.log('App Launch')
    window.vConsole = new window.VConsole()

  },
  onShow: function () {
    console.log('App onShow')
    let Auth = getAuthorization("Auth")
    // if(!Auth){
    //   uni.navigateTo({
    //       url: "/pages/login/index"
    //   })
    // }
  },
  onHide: function () {
    console.log('App Hide')
  },
}
</script>

<style lang="scss">
	
#app{
  width: 100vw;
  height:100vh;
  background: url(@/static/bg.png) no-repeat;
  background-position: 0 0;
  background-size: 100%;
}
</style>
